package com.iot08.api.vo.request;

import com.iot08.api.annotation.ParamName;
import com.iot08.api.vo.request.base.BaseAccountReqVO;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Field;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.websocket.server.PathParam;

@Data
public class AddHealthfunctionReqVO extends BaseAccountReqVO {

    @NotEmpty(message = "参数cmd不能为空")
    private String cmd;
    private Integer swtich;
    // 功能的开关 0: 关闭 ,1: 打开
    private Integer switchStatus;
    // 频率模式 频率 /分钟 | 当-1时为立刻查询一次
    private String frequency;

}
